package com.xtx.mapper;

import com.xtx.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    @Select("select * from user where username = #{userName}")
    User getByUserName(String userName);
}
